package com.zy.edu.controller;

import com.zy.edu.bean.InputParam;
import com.zy.edu.service.UserService;
import com.zy.edu.service.impl.StatsServiceImpl;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author: HuangHaiShui
 * @description:
 * @date: 2021/8/24 16:47
 * @version: 1.0
 */
@RestController
@RequestMapping("stats")
public class StatsController {

    @Resource
    StatsServiceImpl statsService;

    @RequestMapping("analysis")
    public Map analysis(InputParam inputParam){
        
        return statsService.analysis(inputParam);
    }
}
